var app=angular.module('starter', ['ngRoute','angular-drag','starter.controllers','starter.services']);
app.config(function ($routeProvider) {
    $routeProvider.
    when('/index', {
        templateUrl: 'view/index.html',
        controller:'IndexController'
    }).
    when('/infoentry', {
        templateUrl: 'view/infoentry.html'
//                        controller: 'HomeController'
    }).
    when('/infomaintain', {
        templateUrl: 'view/infomaintain.html'
//                        controller: 'AboutController'
    }).
    when('/exceptionhand', {
        templateUrl: 'view/exceptionhand.html'
//                        controller: 'AboutController'
    }).
    when('/caseedit', {
        templateUrl: 'view/caseedit.html'
//                        controller: 'AboutController'
    }).
    when('/casesearchresult', {
        templateUrl: 'view/casesearchresult.html'
//                        controller: 'AboutController'
    }).
    when('/caseinfosearch', {
        templateUrl: 'view/caseinfosearch.html'
//                        controller: 'AboutController'
    }).
    when('/logsearch', {
        templateUrl: 'view/logsearch.html',
//                        controller: 'js/pickers-init.js'
    }).
    when('/distrigraph', {
        templateUrl: 'view/distrigraph.html',
//                        controller: 'js/pickers-init.js'
    }).
    when('/logsheet', {
        templateUrl: 'view/logsheet.html',
//                        controller: 'js/pickers-init.js'
    }).
    when('/infosearch', {
        templateUrl: 'view/infosearch.html'
//                        controller: 'AboutController'
    }).
    when('/timesearch', {
        templateUrl: 'view/timesearch.html'
//                        controller: 'AboutController'
    }).
    when('/peoplemanagement', {
        templateUrl: 'view/peoplemanagement.html',
        controller: 'peopleCtrl'
    }).
    otherwise({
        redirectTo: '/index'
    });
});
